package common

//我方英雄站位
var PositionSelf = [3][3]uint32{
	{7, 4, 1},
	{8, 5, 2},
	{9, 6, 3},
}

//敌方英雄站位
var PositionOther = [3][3]uint32{
	{1, 4, 7},
	{2, 5, 8},
	{3, 6, 9},
}

// 1 :[1,2,3,4,5,6,7,8,9]
// 2 :[2,1,3,5,4,6,8,7,9]
// 3 :[3,1,2,6,4,5,9,7,8]
var FrontRowLine = [3][9]uint32{
	{3, 1, 2, 6, 4, 5, 9, 7, 8},
	{1, 2, 3, 4, 5, 6, 7, 8, 9},
	{2, 1, 3, 5, 4, 6, 8, 7, 9},
}

// 1 :[1,4,7,2,3,5,6,8,9]
// 2 :[2,1,3,5,4,6,8,7,9]
// 3 :[3,1,2,6,4,5,9,7,8]
var LineFrontRow = [3][9]uint32{
	{3, 1, 2, 6, 4, 5, 9, 7, 8},
	{1, 4, 7, 2, 3, 5, 6, 8, 9},
	{2, 1, 3, 5, 4, 6, 8, 7, 9},
}

const (
	POSITION_MAX = 9 // 站位
	ROUND_MAX    = 30
	Row_Num      = 3
)

const (
	Self  = 1 // 我方
	Enemy = 2 // enemy 敌方
)

//type FightCamp  uint32
//var (
//	Attack  FightCamp = 0 // 进攻
//	Defend  FightCamp = 1 // 防守
//)

type FightResult uint32

var (
	Win  FightResult = 0
	Lose FightResult = 1
)
